package edu.sctu.practice.class02.Wangpeng.Assign09;

import edu.sctu.practice.class01.renpingan.test01.Student.Student;

/**
 * Created by wp on 2015/12/10.
 */
public class Client {
    public static void main(String[] args) {
      new Client().run();
    }

    public void run(){

        Student chen = new Student();
        chen.setName("gschen");
        chen.setAge(20);

        getStudent(chen);
        System.out.println(chen.getAge());
    }
    public void getStudent(Student student){
        student.setAge(30);
    }
}
